right
Type
property
Summary
Specifies how far an object's right edge is from the left edge of the window or screen.
Syntax
set the right of <object> to <pixels>
Description
Use the right property to change the horizontal placement of a control or window.
The right of a stack is in absolute (screen) coordinates. The right of a card is always the width of the stack window; setting the right of a card does not cause a script error, but it has no effect. The right of a group or control is in relative (window) coordinates.
Changing the right of an object shifts it to the new position without resizing it. To change an object's width, set its width or rectangle property.
The width property of an object is equal to its right minus its left.
Examples
set the right of last field to 22
set the right of me to item 1 of the clickLoc
Related
glossary: object, property, relative coordinates, absolute coordinates, stack window, error, negative
keyword: card, control, integer
object: stack
command: group
constant: left
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile